package com.example.flight_ticket_app.bean;

import lombok.Data;

import java.io.Serializable;

@Data
public class Result implements Serializable {

    private Integer status;

    private String message;

    private Object obj;

    public Result(){}

    public Result(Integer status, String message){
        this.status = status;
        this.message = message;
    }

    public Result(Integer status, Object obj){
        this.status = status;
        this.obj = obj;
    }

    public Result(Integer status, Object obj, String message){
        this.status = status;
        this.obj = obj;
        this.message = message;
    }

}
